package lab.exec;

public abstract class BalanceItem implements Comparable<BalanceItem> {
	public abstract int getSize();

	public int compareTo(BalanceItem o) {
		return getSize() - o.getSize();
	}
}
